import { put } from '@/utils/request';

interface Response {}

/**
 * @description 用户注册
 *
 * @param mobile_phone 手机号
 * @param code 验证码
 *
 * @returns
 */
export default async function codeloginApi(mobile_phone: string, code: string) {
  const response = await put('/api/user/code_login', { mobile_phone, code });
  return response;
}